package net.zjitc.service.impl;

import net.zjitc.dao.Userdao;
import net.zjitc.domain.User;
import net.zjitc.service.UserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2017/2/27.
 */
@Service
@Transactional
public class UserServiceimpl implements UserService {
    @Resource
    private Userdao userdao;

    @Override
    public boolean findUsernamepassword(String username,String password) {
        return userdao.findUsernamepassword(username,password);
    }

    @Override
    public List<User> findall() {
        return null;
    }


}
